<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>

    window.onmessage=function (e) {
        console.log(e.data)// 接收到 a.html的信息msg
        e.source.postMessage("我不是fql");//向a.html回复msg

    }
</script>
</body>
</html>